package com.wx.tgp.jfinal.demo.entity;

import com.jfinal.plugin.activerecord.Model;

/**
 * Created by Administrator on 2016/5/6.
 * 定义的实体中继承Model<?> 这个父类就不需要写
 *      getter,setter方法
 *      无需Annotation，无需xml
 *
 */
public class User extends Model<User>{
    private int userId;
    private String userName;
    private String password;

    public User(){}

}
